<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
<%@include file="/WEB-INF/jsp/public/commons.jspf"%>
    <title>用户投诉</title>
 <script src="ckeditor/ckeditor.js"></script>
  </head>
  
  <body style="background-color: #eee;">
  <div class="container">
<ol class="breadcrumb">
  <li><a href="home_outerCentre.action">首页</a></li>
  <li class="active">用户投诉</li>
</ol>
</div>
  	<div class="container" style="margin-top:20px;width:1022px;">
	<div class="page-header">
	   <h1>
	      <small>用户投诉</small>
	   </h1>
	</div>
	<form role="form" id="forumForm" action="complain_complain.action" method="post" enctype="multipart/form-data">
	   <div class="form-group">
	      <label for="departmentId">投诉部门</label>
	       <s:select name="departmentId" cssClass="form-control"
               list="#departmentList" listKey="id" listValue="name"
               headerKey="" headerValue="请选择投诉部门"
          />
	   </div>
	   <div class="form-group">
	      <label for="address">个人地址</label>
	      <input type="text" class="form-control" id="address" name="address"
	         placeholder="请详细地址，包括门牌号等">
	   </div>
	   <div class="form-group">
	      <label for="IDNumber">联系方式</label>
	      <input type="number" class="form-control" id="IDNumber" name="IDNumber"
	         placeholder="请输入电话号码">
	   </div>
	   <div class="form-group">
	      <label for="complaint">投诉原因</label>
	      <select class="form-control" id="complaint" name="complaint">
	         <option>物业人员服务态度</option>
	         <option>公用设施设备</option>
	         <option>公共区域绿化养护</option>
	         <option>物业公司收费问题</option>
	      </select>
	         
	   </div>
	   <div class="form-group">
	      <label for="cause">投诉详情</label>
	      <textarea class="form-control" id="cause" name="cause" rows="3"></textarea>
	   </div>
	   <script>
			CKEDITOR.replace('cause', {
				customConfig : '${pageContext.request.contextPath}/script/complaint.js'//自定义配置文件
			});
		</script>
	   <button type="submit" class="btn btn-primary">提交</button>
	</form>
	</div>
  </body>
</html>
